#include<bits/stdc++.h>
using namespace std;
int t;
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    srand(time(NULL));
    cin>>t;
    for(int i=1;i<=t;i++) cout<<rand()%426<<endl;
    return 0;
}
/*
gg,last OIer of old Jinling Huiwen
426 and 544 forever
*/
